package com.yjc.drygoods.product.vo;

import com.yjc.drygoods.product.entity.SkuImagesEntity;
import com.yjc.drygoods.product.entity.SkuInfoEntity;
import com.yjc.drygoods.product.entity.SpuCommentEntity;
import com.yjc.drygoods.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author yjc
 * @create 2022-09-16 8:47
 */
@ToString
@Data
public class SkuItemVo {
    //1.sku基本信息获取 `pms_sku_info`
    SkuInfoEntity skuInfo;

    //2.sku的图片信息 `pms_sku_images`
    List<SkuImagesEntity> skuImages;

    //3.获取spu销售属性组合 `pms_sku_sale_attr_value`
    List<SkuItemSaleAttrVo> skuItemSaleAttrVos;

    //4.获取spu的介绍 `pms_spu_info_desc`
    SpuInfoDescEntity spuInfoDesc;

    //5.获取spu的规格参数信息 `pms_product_attr_value`
    List<SkuItemAttrGroupVo> skuItemAttrGroupVos;

    //6.是否有货
    boolean hasStock = true;

    //7.sku的评论信息`pms_spu_comment`
    List<SpuCommentEntity> spuComments;
}
